package service;


import pojo.CourseM;

import java.util.List;

public interface AddCourseService {
    int addCourse(CourseM courseM);

    List<CourseM> getAll(String name);

    List<CourseM> getCourseByArray(Integer currPage, Integer pageSize);

    List<CourseM> getAllByArray();

    Integer deleteCourse(String id);
}
